﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace TerminalTick.Models
{
    public enum TerminalState
    {
        OnLine,
        OffLine
    }

    public class TerminalPoint
    {
        public TerminalPoint()
        {
            this.State = TerminalState.OnLine;
        }

        public int X { get; set; }

        public int Y { get; set; }

        public string AlertUrl { get; set; }

        public string HostName { get; set; }

        public string Id { get; set; }

        public int AlertCount { get; set; }

        public TerminalState State { get; set; }
    }

    public class BroadcastMessage
    {
        public string Id { get; set; }
        public string Title { get; set; }
        public string Body { get; set; }
    }
}